Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Thu, 09 Jun 2016 09:33:42 UTC Commit: 4b8c1a25b9ccf39cc456e7f0485ac1d485c48259 https://github.com/geany/geany-plugins/commit/4b8c1a25b9ccf39cc456e7f0485ac1...
Log Message: ----------- Merge pull request #357 from b4n/geanyinsertnum/less-deprecated
geanyinsertnum: Drop use of the most obvious deprecated Geany API
Modified Paths: -------------- geanyinsertnum/src/insertnum.c
Modified: geanyinsertnum/src/insertnum.c 12 lines changed, 6 insertions(+), 6 deletions(-) =================================================================== @@ -309,7 +309,7 @@ static void set_entry(GtkWidget *entry, gint maxlen, GtkWidget *label, const gch gtk_entry_set_max_length(GTK_ENTRY(entry), maxlen); gtk_entry_set_activates_default(GTK_ENTRY(entry), TRUE); gtk_label_set_mnemonic_widget(GTK_LABEL(label), entry); - ui_widget_set_tooltip_text(entry, tooltip); + gtk_widget_set_tooltip_text(entry, tooltip); }
#if !GTK_CHECK_VERSION(3, 0, 0) @@ -376,20 +376,20 @@ static void on_insert_numbers_activate(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GN gtk_table_attach(grid, GTK_WIDGET(combo), 1, 3, 1, 2, GTK_EXPAND | GTK_FILL, 0, 0, 0); #endif label = gtk_label_new(_("Letters:")); - ui_widget_set_tooltip_text(label, case_tip); + gtk_widget_set_tooltip_text(label, case_tip); gtk_grid_attach(grid, label, 3, 1, 1, 1); upper = gtk_radio_button_new_with_mnemonic(NULL, _("_Upper")); - ui_widget_set_tooltip_text(upper, case_tip); + gtk_widget_set_tooltip_text(upper, case_tip); gtk_grid_attach(grid, upper, 4, 1, 1, 1); d.lower = gtk_radio_button_new_from_widget(GTK_RADIO_BUTTON(upper)); - ui_widget_set_tooltip_text(label, case_tip); + gtk_widget_set_tooltip_text(label, case_tip); label = gtk_label_new_with_mnemonic(_("_Lower")); - ui_widget_set_tooltip_text(label, case_tip); + gtk_widget_set_tooltip_text(label, case_tip); gtk_container_add(GTK_CONTAINER(d.lower), label); gtk_grid_attach(grid, d.lower, 5, 1, 1, 1);
d.prefix = gtk_check_button_new_with_mnemonic(_("Base _prefix")); - ui_widget_set_tooltip_text(d.prefix, + gtk_widget_set_tooltip_text(d.prefix, _("0 for octal, 0x for hex, + for positive decimal")); gtk_grid_attach(grid, d.prefix, 1, 2, 2, 1); label = gtk_label_new(_("Padding:"));
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).