Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: GitHub noreply@github.com Date: Sat, 07 Dec 2024 16:38:58 UTC Commit: 2ac0280c0c7e76304678c613e0021adb01b7cee0 https://github.com/geany/geany/commit/2ac0280c0c7e76304678c613e0021adb01b7ce...
Log Message: ----------- Merge pull request #4099 from techee/pref_wrap_label
Move long label from glade to prefs.c and use geany_wrap_label for it
Modified Paths: -------------- data/geany.glade src/prefs.c
Modified: data/geany.glade 15 lines changed, 0 insertions(+), 15 deletions(-) =================================================================== @@ -3174,21 +3174,6 @@ <property name="position">0</property> </packing> </child> - <child> - <object class="GtkLabel" id="label247"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="label" translatable="yes">Note: To apply these settings to all currently open documents, use <i>Project->Apply Default Indentation</i>.</property> - <property name="use-markup">True</property> - <property name="wrap">True</property> - <property name="xalign">0</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> <child> <object class="GtkFrame" id="frame27"> <property name="visible">True</property>
Modified: src/prefs.c 6 lines changed, 6 insertions(+), 0 deletions(-) =================================================================== @@ -1699,6 +1699,12 @@ void prefs_show_dialog(void) gtk_widget_show(label); gtk_label_set_use_markup(GTK_LABEL(label), TRUE); gtk_misc_set_padding(GTK_MISC(label), 6, 0); + gtk_box_pack_start(GTK_BOX(ui_lookup_widget(ui_widgets.prefs_dialog, + "label_project_indent_warning")), label, FALSE, TRUE, 5); + label = geany_wrap_label_new(_("Note: To apply these settings to all currently open documents, use <i>Project->Apply Default Indentation</i>.")); + gtk_widget_show(label); + gtk_label_set_use_markup(GTK_LABEL(label), TRUE); + gtk_misc_set_padding(GTK_MISC(label), 6, 0); gtk_box_pack_start(GTK_BOX(ui_lookup_widget(ui_widgets.prefs_dialog, "label_project_indent_warning")), label, FALSE, TRUE, 5);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).