[Xfce4-commits] [xfce/xfce4-settings] 14/22: mimetypes: Drop GTK3 comments

noreply at xfce.org noreply at xfce.org
Tue Sep 4 02:31:05 CEST 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-settings.

commit fb6cd9004b4fe3a75516a99b4613e5da41cb1302
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sat Sep 1 13:01:30 2018 -0400

    mimetypes: Drop GTK3 comments
---
 dialogs/mime-settings/xfce-mime-window.c | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/dialogs/mime-settings/xfce-mime-window.c b/dialogs/mime-settings/xfce-mime-window.c
index 21c8689..8715df6 100644
--- a/dialogs/mime-settings/xfce-mime-window.c
+++ b/dialogs/mime-settings/xfce-mime-window.c
@@ -175,13 +175,6 @@ xfce_mime_window_init (XfceMimeWindow *window)
         xfconf_channel_get_int (window->channel, "/last/window-width", 550),
         xfconf_channel_get_int (window->channel, "/last/window-height", 400));
 
-    /* don't act like a dialog, hide the button box */
-    /* FIXME - Deprecated, should hide some other way... */
-    /*
-    area = gtk_dialog_get_action_area (GTK_DIALOG (window));
-    gtk_widget_hide (area);
-    */
-
     vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
     area = gtk_dialog_get_content_area (GTK_DIALOG (window));
     gtk_box_pack_start (GTK_BOX (area), vbox, TRUE, TRUE, 0);
@@ -292,13 +285,6 @@ xfce_mime_window_init (XfceMimeWindow *window)
         G_CALLBACK (xfce_mime_window_column_clicked), window);
     gtk_tree_view_append_column (GTK_TREE_VIEW (treeview), column);
 
-    /* HACK - Disabled as we move to GTK3 */
-    /*
-    column->use_resized_width = TRUE;
-    column->resized_width = xfconf_channel_get_int (window->channel,
-                                                    "/last/status-width",
-                                                    75);
-    */
     gtk_tree_view_column_set_min_width (column, 75);
     gtk_tree_view_column_set_fixed_width (column, xfconf_channel_get_int (window->channel,
                                                                           "/last/status-width",
@@ -319,13 +305,6 @@ xfce_mime_window_init (XfceMimeWindow *window)
         G_CALLBACK (xfce_mime_window_column_clicked), window);
     gtk_tree_view_append_column (GTK_TREE_VIEW (treeview), column);
 
-    /* HACK - Disabled as we move to GTK3 */
-    /*
-    column->use_resized_width = TRUE;
-    column->resized_width = xfconf_channel_get_int (window->channel,
-                                                    "/last/default-width",
-                                                    100);
-    */
     gtk_tree_view_column_set_min_width (column, 100);
     gtk_tree_view_column_set_fixed_width (column, xfconf_channel_get_int (window->channel,
                                                                           "/last/default-width",

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list