gimp r25432 - in trunk: . app/widgets
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25432 - in trunk: . app/widgets
- Date: Wed, 9 Apr 2008 15:16:45 +0100 (BST)
Author: neo
Date: Wed Apr 9 15:16:45 2008
New Revision: 25432
URL: http://svn.gnome.org/viewvc/gimp?rev=25432&view=rev
Log:
2008-04-09 Sven Neumann <sven gimp org>
* app/widgets/gimptexteditor.c (gimp_text_editor_new): disabled
the language entry until it works.
Modified:
trunk/ChangeLog
trunk/app/widgets/gimptexteditor.c
Modified: trunk/app/widgets/gimptexteditor.c
==============================================================================
--- trunk/app/widgets/gimptexteditor.c (original)
+++ trunk/app/widgets/gimptexteditor.c Wed Apr 9 15:16:45 2008
@@ -164,33 +164,37 @@
if (toolbar)
{
- GtkToolItem *item;
- GtkWidget *hbox;
- GtkWidget *label;
- GtkWidget *entry;
-
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (editor)->vbox), toolbar,
FALSE, FALSE, 0);
gtk_widget_show (toolbar);
- item = gtk_tool_item_new ();
- gtk_tool_item_set_expand (item, TRUE);
- gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
- gtk_widget_show (GTK_WIDGET (item));
-
- hbox = gtk_hbox_new (FALSE, 6);
- gtk_container_add (GTK_CONTAINER (item), hbox);
- gtk_widget_show (hbox);
-
- label = gtk_label_new_with_mnemonic (_("_Language:"));
- gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
- gtk_widget_show (label);
-
- entry = gimp_language_entry_new ();
- gtk_box_pack_start (GTK_BOX (hbox), entry, TRUE, TRUE, 0);
- gtk_widget_show (entry);
+ /* language entry, disabled until it works */
+ if (FALSE)
+ {
+ GtkToolItem *item;
+ GtkWidget *hbox;
+ GtkWidget *label;
+ GtkWidget *entry;
+
+ item = gtk_tool_item_new ();
+ gtk_tool_item_set_expand (item, TRUE);
+ gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
+ gtk_widget_show (GTK_WIDGET (item));
+
+ hbox = gtk_hbox_new (FALSE, 6);
+ gtk_container_add (GTK_CONTAINER (item), hbox);
+ gtk_widget_show (hbox);
+
+ label = gtk_label_new_with_mnemonic (_("_Language:"));
+ gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
+ gtk_widget_show (label);
+
+ entry = gimp_language_entry_new ();
+ gtk_box_pack_start (GTK_BOX (hbox), entry, TRUE, TRUE, 0);
+ gtk_widget_show (entry);
- gtk_label_set_mnemonic_widget (GTK_LABEL (label), entry);
+ gtk_label_set_mnemonic_widget (GTK_LABEL (label), entry);
+ }
}
scrolled_window = gtk_scrolled_window_new (NULL, NULL);
@@ -224,7 +228,7 @@
break;
}
- gtk_widget_set_size_request (editor->view, 150, 64);
+ gtk_widget_set_size_request (editor->view, 200, 64);
editor->font_toggle =
gtk_check_button_new_with_mnemonic (_("_Use selected font"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]