Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
panel-hig [2008/01/23 23:33] – the last code for the size-changed signal was all wrong, this is correct mikepanel-hig [2008/03/03 05:34] – removing clutter, pushed comment up with the rest ongardie
Line 20: Line 20:
  
 ===== General ===== ===== General =====
 +
 +
  
  
Line 26: Line 28:
 ==== Tooltips ==== ==== Tooltips ====
   * [rfc] Indentation for sublevel entries should be: 2 spaces? 4 spaces? \t?   * [rfc] Indentation for sublevel entries should be: 2 spaces? 4 spaces? \t?
-    * //ongardie 2007/12/18 05:51 Screenshots would be helpful [added below] // 
     * //ongardie 2007/12/21 01:51 I think I like 2 spaces the best, personally. //     * //ongardie 2007/12/21 01:51 I think I like 2 spaces the best, personally. //
     * With GTK+2.12 you can add widgets in a tooltip, and therefore labels with markups, for bold for example.  --- //[[mmassonnet@gmail.com|Mike Massonnet]] 2008/01/06 07:39//     * With GTK+2.12 you can add widgets in a tooltip, and therefore labels with markups, for bold for example.  --- //[[mmassonnet@gmail.com|Mike Massonnet]] 2008/01/06 07:39//
 +    * Or maybe a \t with a configurable (plus sensible default) tab width? -- //anonymous//
  
  
Line 63: Line 65:
   * [draft] Optionally, display a title \\ If you would like to add a title to your menu, set it insensitive and bold, and place it on top of the menu followed by a separator \\ {{http://img265.imageshack.us/img265/2880/menutitlepj6.png}}   * [draft] Optionally, display a title \\ If you would like to add a title to your menu, set it insensitive and bold, and place it on top of the menu followed by a separator \\ {{http://img265.imageshack.us/img265/2880/menutitlepj6.png}}
     * I'm not convinced I like this. Perhaps we should discourage menu titles instead. --- //[[ongardie@gmail.com|Diego Ongaro]] 2008/01/06 01:28//     * I'm not convinced I like this. Perhaps we should discourage menu titles instead. --- //[[ongardie@gmail.com|Diego Ongaro]] 2008/01/06 01:28//
 +
  
  
Line 73: Line 76:
   * [draft] If possible, settings modifications should immediately take effect. Otherwise, settings modifications should take effect when the properties dialog is closed, and the plugin's widgets should be set insensitive while the dialog is open.   * [draft] If possible, settings modifications should immediately take effect. Otherwise, settings modifications should take effect when the properties dialog is closed, and the plugin's widgets should be set insensitive while the dialog is open.
     * The sensitive part can be dropped, it just works if the dialog is set modal (see [[http://library.gnome.org/devel/gtk/2.12/GtkDialog.html#GtkDialogFlags|GtkDialogs flags]]).  Btw, I prefer when the modifications are affected immediately, that's the default habit in most xfce settings dialogs. --- mike 2008/01/10 05:58     * The sensitive part can be dropped, it just works if the dialog is set modal (see [[http://library.gnome.org/devel/gtk/2.12/GtkDialog.html#GtkDialogFlags|GtkDialogs flags]]).  Btw, I prefer when the modifications are affected immediately, that's the default habit in most xfce settings dialogs. --- mike 2008/01/10 05:58
 +    * Indeed in Xfce it is very common to apply changes immediately unless you are making more complex changes. Please avoid insensitivity or modality where possible. --- kalikiana 2008/01/26 17:06
 +
  
  
Line 106: Line 111:
  
   icon_theme = gtk_icon_theme_get_default ();   icon_theme = gtk_icon_theme_get_default ();
-  pixbuf = gtk_icon_theme_load_icon (icon_theme, "xfce4-fsguard-plugin-urgent", size, 0, NULL);+  pixbuf = gtk_icon_theme_load_icon (icon_theme, "icon-name", size, 0, NULL);
   if (G_UNLIKELY (NULL == pixbuf))   if (G_UNLIKELY (NULL == pixbuf))
     return;     return;